<p class="bold">List Category</p>
<br/>
<table width="550" border="0">
    <tr>
        <td width="30">Stt</td>
        <td width="100">Username</td>
        <td width="80">Parent</td>
        <td width="170">Description</td>
        <td width="40"></td>
        <td width="80"></td>
        <td width="30"></td>
    </tr>
    <?php if($listcate != NULL){ ?>
        <?php $i=1; foreach($listcate as $data){

        ?>
            <tr>
                <td><?php echo $i; ?></td>
                <td><?php echo $data['cate_name']; ?></td>
                <td><?php   echo $data['cate_parent']; ?></td>
                <td><?php echo $data['cate_description']; ?></td>
                <td><a href="<?php echo base_url(); ?>index.php/admin/category/updateCate/<?php echo $data['cate_id']; ?>">Sửa</a></td>
                <td><a href="<?php echo base_url(); ?>index.php/admin/category/moveCate/<?php echo $data['cate_id']; ?>">Di chuyển</a></td>
                <td><a href="<?php echo base_url(); ?>index.php/admin/category/del/<?php echo $data['cate_id']; ?>">Xóa</a></td>
            </tr>
            <?php $i++; } } ?>

</table>